<?php
declare (strict_types = 1);

namespace app\api\controller;

use think\facade\Db;

use app\common\model\Banner as BannerModel;
use app\common\model\Lists as ListsModel;

/**
 * @title 首页
 * @description 接口说明
 * //@group 接口分组
 * //@header name:key require:1 default: desc:秘钥(区别设置)
 * //@param name:public type:int require:1 default:1 other: desc:公共参数(区别设置)
 */
class Index extends Base
{


    //获取banner
    public function bannerList(){
        $BannerModel = new BannerModel();
        $list = $BannerModel ->where("status","=",1)->select();
        return dyajaxReturn(1,"获取成功",$list);
    }
















}
